package com.yike.user.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;
import com.yike.common.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import com.yike.common.api.Update;

/**
 * 软件版本
 *
 * @author yike
 * @since 2024-07-25
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@TableName("qy_version_control")
@ApiModel(value = "VersionControl对象")
public class VersionControl extends BaseEntity {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("版本名称")
    private String fileName;

    @ApiModelProperty("安装包地址")
    private String fileUrl;

    @ApiModelProperty("类型：1.收银机端")
    private Integer softType;

    @ApiModelProperty("校验值")
    private String crc32;

    @ApiModelProperty("软件编码")
    private String androidCsCode;

    @ApiModelProperty("软件版本")
    private String csVersion;

    @ApiModelProperty("是/否强制更新")
    @TableField(value = "`force`")
    private Integer force;

    @ApiModelProperty("更新主题")
    private String title;

    @ApiModelProperty("更新内容")
    private String message;

}
